#ifndef _FACE_DETECT_H_
#define _FACE_DETECT_H_

#define BORDES_SOBEL 0
#define BORDES_CANNY 1
#define BORDES BORDES_CANNY

#define ROI_X_INI 0
#define ROI_Y_INI 0
#define ROI_X 640
#define ROI_Y 480

bool Init_Haar(const char * cascade_path = NULL);
void End_Haar(void);
bool do_haar (IplImage * image, CvRect *haar_rect_old, bool do_pyramids);
int detect_and_draw_objects( IplImage* image, CvHaarClassifierCascade* cascade, CvRect* rect, bool do_pyramids );
void Bordes (IplImage* color_image, IplImage* gray , int mode);


#endif
